﻿// ***********************************************************************
// Project			: Micua
// Assembly         : Micua.Model
// Author           : iceStone
// Created          : 2013-11-23 15:33
//
// Last Modified By : iceStone
// Last Modified On : 2013-11-23 15:33
// ***********************************************************************
// <copyright file="Post.cs" company="Wedn.Net">
//     Copyright (c) Wedn.Net. All rights reserved.
// </copyright>
// <summary>缺少注释</summary>
// ***********************************************************************
namespace Micua.Model.CodeFirst
{
    /// <summary>
    /// Class Post.
    /// </summary>
    /// <remarks>
    ///  2013-11-23 15:34 Created By iceStone
    /// </remarks>
    public class Post
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="Post"/> class.
        /// </summary>
        /// <remarks>
        ///  2013-11-23 15:34 Created By iceStone
        /// </remarks>
        public Post()
        {
            Type = 0;
            Status = 0;
            CommentStatus = 0;
            PingStatus = 0;
            ViewCount = 0;
            CommentCount = 0;
            ParentId = 0;
        }

        /// <summary>
        /// Gets or sets the identifier.
        /// </summary>
        /// <value>The identifier.</value>
        public int Id { get; set; }
        /// <summary>
        /// Gets or sets the user identifier.
        /// </summary>
        /// <value>The user identifier.</value>
        public int UserId { get; set; }
        /// <summary>
        /// Gets or sets the slug.
        /// </summary>
        /// <value>The slug.</value>
        public string Slug { get; set; }
        /// <summary>
        /// Gets or sets the title.
        /// </summary>
        /// <value>The title.</value>
        public string Title { get; set; }
        /// <summary>
        /// Gets or sets the pub date.
        /// </summary>
        /// <value>The pub date.</value>
        public System.DateTime PubDate { get; set; }
        /// <summary>
        /// Gets or sets the modified.
        /// </summary>
        /// <value>The modified.</value>
        public System.DateTime Modified { get; set; }
        /// <summary>
        /// Gets or sets the content.
        /// </summary>
        /// <value>The content.</value>
        public string Content { get; set; }
        /// <summary>
        /// Gets or sets the excerpt.
        /// </summary>
        /// <value>The excerpt.</value>
        public string Excerpt { get; set; }
        /// <summary>
        /// Gets or sets the type.
        /// </summary>
        /// <value>The type.</value>
        public byte Type { get; set; }
        /// <summary>
        /// Gets or sets a value indicating whether this instance is top.
        /// </summary>
        /// <value><c>true</c> if this instance is top; otherwise, <c>false</c>.</value>
        public bool IsTop { get; set; }
        /// <summary>
        /// Gets or sets the status.
        /// </summary>
        /// <value>The status.</value>
        public byte Status { get; set; }
        /// <summary>
        /// Gets or sets the comment status.
        /// </summary>
        /// <value>The comment status.</value>
        public byte CommentStatus { get; set; }
        /// <summary>
        /// Gets or sets the ping status.
        /// </summary>
        /// <value>The ping status.</value>
        public byte PingStatus { get; set; }
        /// <summary>
        /// Gets or sets the pinged.
        /// </summary>
        /// <value>The pinged.</value>
        public string Pinged { get; set; }
        /// <summary>
        /// Gets or sets the password.
        /// </summary>
        /// <value>The password.</value>
        public string Password { get; set; }
        /// <summary>
        /// Gets or sets the view count.
        /// </summary>
        /// <value>The view count.</value>
        public int ViewCount { get; set; }
        /// <summary>
        /// Gets or sets the comment count.
        /// </summary>
        /// <value>The comment count.</value>
        public int CommentCount { get; set; }
        /// <summary>
        /// Gets or sets the parent identifier.
        /// </summary>
        /// <value>The parent identifier.</value>
        public int ParentId { get; set; } 
    }
}